﻿namespace IOA.MES.DataAccess.VModel
{
    /// <summary>
    /// 标签模板
    /// </summary>
    public class VLabelTemplate : BaseVModel
    {
        private string _templateName = string.Empty;
        private string _serialNum = string.Empty;
        private string _borderBarCode = string.Empty;
        private string _nameplate = string.Empty;
        private string _currentTag = string.Empty;
        private string _energyTag = string.Empty;
        private string _mark = string.Empty;
        private string _pallNumTag = string.Empty;
        private string _frChart = string.Empty;
        private string _oBAData = string.Empty;

        #region Public Property

        ///<Summary>
        /// 模板名称
        ///</Summary>
        public string TemplateName
        {
            get { return string.IsNullOrWhiteSpace(_templateName) ? string.Empty : _templateName; }
            set { _templateName = value; }
        }

        ///<Summary>
        /// 序列号
        ///</Summary>
        public string SerialNum
        {
            get { return string.IsNullOrWhiteSpace(_serialNum) ? string.Empty : _serialNum; }
            set { _serialNum = value; }
        }

        ///<Summary>
        /// 边框条码
        ///</Summary>
        public string BorderBarCode
        {
            get { return string.IsNullOrWhiteSpace(_borderBarCode) ? string.Empty : _borderBarCode; }
            set { _borderBarCode = value; }
        }

        ///<Summary>
        /// 铭牌
        ///</Summary>
        public string Nameplate
        {
            get { return string.IsNullOrWhiteSpace(_nameplate) ? string.Empty : _nameplate; }
            set { _nameplate = value; }
        }

        ///<Summary>
        /// 电流标
        ///</Summary>
        public string CurrentTag
        {
            get { return string.IsNullOrWhiteSpace(_currentTag) ? string.Empty : _currentTag; }
            set { _currentTag = value; }
        }

        ///<Summary>
        /// 能源标签
        ///</Summary>
        public string EnergyTag
        {
            get { return string.IsNullOrWhiteSpace(_energyTag) ? string.Empty : _energyTag; }
            set { _energyTag = value; }
        }

        ///<Summary>
        /// 唛头
        ///</Summary>
        public string Mark
        {
            get { return string.IsNullOrWhiteSpace(_mark) ? string.Empty : _mark; }
            set { _mark = value; }
        }

        ///<Summary>
        /// 托盘号标签
        ///</Summary>
        public string PallNumTag
        {
            get { return string.IsNullOrWhiteSpace(_pallNumTag) ? string.Empty : _pallNumTag; }
            set { _pallNumTag = value; }
        }

        ///<Summary>
        /// FR报表
        ///</Summary>
        public string FrChart
        {
            get { return string.IsNullOrWhiteSpace(_frChart) ? string.Empty : _frChart; }
            set { _frChart = value; }
        }

        ///<Summary>
        /// OBA数据
        ///</Summary>
        public string OBAData
        {
            get { return string.IsNullOrWhiteSpace(_oBAData) ? string.Empty : _oBAData; }
            set { _oBAData = value; }
        }
        #endregion
    }
}
